package com.baizw.cultivation.module.admin.entity;


import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * @author baizw
 */
@Getter
@Setter
@ToString
public class UserOnline {

    private String ip;

    private String loginName;

    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date lastDateline;
}
